import Vue from 'vue'
import Router from 'vue-router'
import Sy from '@/components/Sy'
import Personpage from '@/components/Person'
import Sortpage from '@/components/Sortpage'
import Search from '@/components/Search'
import Orderpage from '@/components/Orderpage'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Sy',
      component: Sy
    },
    {
      path: '/personpage',
      name: 'Personpage',
      component: Personpage
    },
    {
      path: '/sortpage',
      name: 'Sortpage',
      component: Sortpage
    },
    {
      path: '/search',
      name: 'Search',
      component: Search
    },
    {
      path: '/orderpage',
      name: 'Orderpage',
      component: Orderpage
    }
  ]
})
